package bdz.projects.atwww.electrolux.views
{
	import bdz.projects.atwww.electrolux.ui.core.ELCoreView;
	import bdz.projects.atwww.electrolux.views.analogue.ELAnalogueOptions;
	import bdz.projects.atwww.electrolux.views.analogue.ELAnalogueRotary;

	public class ELAnalogueView extends ELCoreView {
		
		
		public function ELAnalogueView() {			
			super(getAbstract("analogue_data.xml?cacheBuster="+new Date().getTime()));
		}
		
		override protected function initializeViews():void{
			
			controller.registerProgressControl(this["progressControl"]);
			
			_optionControl = new ELAnalogueOptions();
			_optionControl.x = 783;
			_optionControl.y = 109;
			addChild(_optionControl);
			controller.registerOptionControl(_optionControl);
			
			_rotaryControl = new ELAnalogueRotary();
			_rotaryControl.x = 323;
			_rotaryControl.y = 81;
			addChild(_rotaryControl);
			controller.registerRotaryControl(_rotaryControl);
			
			controller.registerPlayPauseControl(this["PlayPause"]);
			
		}
	}
}